<?php global $config; ?>
<?php $ROUTER = Zend_Registry::get('ROUTER'); ?>
<?php $this->headScript()->appendFile($config->JS_PATH . 'jquery.validate.min.js'); ?>
<?php $this->headScript()->appendFile($config->JS_PATH . 'quoteus.js'); ?>

<section id="contact_middlecontainer">
    <div id="quoteus-jcontainer"></div>
    <div class="container">
	<div class="arrow 01"><img src="<?php echo $config->IMAGE_PATH; ?>arrow_05.png" alt="arrow" /></div>
	<div class="subheader">
	    <div class="subheader-icon"></div>
	    <div class="subheader-text">Quote Us <span>Request a Proposal.</span></div>
	</div>
	<div class="contact_content">

	    <div class="contact-left">
		<?php if (count($this->errorMessage) > 0): ?>
    		<div class="contact-error">
		    <?php foreach ($this->errorMessage as $erroValue): ?>
		    <?php foreach ($erroValue as $_value): ?>
			    <p><?php echo $_value; ?></p>
		    <?php endforeach; ?>
		    <?php endforeach; ?>
			</div>
		<?php endif; ?>


		<?php if ($this->succesMeessage != ""): ?>
				<div class="contact-success">
				    <p><?php echo $this->succesMeessage; ?></p>
				</div>
		<?php endif; ?>

				<form id="quote-form" enctype="multipart/form-data" class="contact-form" action="<?php echo $this->url(array('controller' => 'quoteus', 'action' => 'index'), null, TRUE); ?>" method="post">
				    <div class="left leftwidth">
					<label for="name">Name *</label>
			<?php echo $this->form->name; ?>
			    </div>
			    <div class="left leftwidth">
				<label for="company">Company Name </label>
			<?php echo $this->form->company; ?>
			    </div>

			    <div class="left leftwidth">
				<label for="email">E-mail *</label>
			<?php echo $this->form->email; ?>
			    </div>


			    <div class="left leftwidth">
				<label for="country">Country *</label>
			<?php echo $this->form->country; ?>
			    </div>

			    <div class="clear"></div>
			    <label for="phone">Contact Number  *</label>
		    <?php echo $this->form->phone; ?>

	    		    <label for="suitabletime">Suitable time to call</label>
		    <?php echo $this->form->suitabletime; ?>

	    		    <label for="services">Services *</label>
		    <?php echo $this->form->services; ?>

	    		    <label for="reqdetails">Details about requirement</label>
		    <?php echo $this->form->reqdetails; ?>


			<label for="reqdetails">Upload Document</label>
		    <?php echo $this->form->filename; ?>
			
			<br/><br/>
			<label for="captcha">Captcha Code *</label>
			<div id="captcha-cnt">
		    <?php echo $this->recaptcha->getHTML(); ?>
			</div>

		    <?php echo $this->form->SEND; ?>
		</form>
		<div class="clear"></div>
	    </div> <!-- end of contact-left -->
	    <div class="clear"></div>

	</div>
	<!-- end of contact_content -->
    </div>
    <!-- end of container -->
</section>